﻿using GenerateCode;
using GenerateCode.Service;

namespace GenerateCode.IService
{
    public interface IServiceCreateEntity
    {
        /// <summary>
        /// 设定表名
        /// </summary>
        /// <param name="table_name">表名</param>
        /// <returns></returns>
        public CreateEntityService TableName(string table_name);
        /// <summary>
        /// 生成实体类代码
        /// </summary>
        /// <param name="table_name">表名</param>
        /// <param name="save_path">存储路径</param>
        /// <param name="name_space">命名空间</param>
        public CreateEntityService Entity( string save_path, string name_space);

        /// <summary>
        /// 生成仓储文件代码
        /// </summary>
        /// <param name="name_space"></param>
        /// <param name="save_path"></param>
        public CreateEntityService Repository(string name_space, string save_path);

        /// <summary>
        /// 生成仓储接口文件代码
        /// </summary>
        /// <param name="name_space"></param>
        /// <param name="save_path"></param>
        public CreateEntityService IRepository(string name_space, string save_path);

    }
}
